import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI, {
  Message
} from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import TreeTable from 'vue-table-with-tree-grid'
import "assets/font/iconfont.css";
import {
  request
} from "network/request.js";
import axios from 'axios'
/* axios.defaults.baseURL = "http://127.0.0.1:8888/api/private/v1/"
Vue.prototype.$axios = axios */
Vue.config.productionTip = false
Vue.use(ElementUI);
/* Vue.prototype.$message = Message */
//注册为全局组件
Vue.component('tree-table', TreeTable)
Vue.prototype.$request = request
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')